package com.etc.service.impl;

import com.etc.dao.LoginDao;
import com.etc.entity.Admin;
import com.etc.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminServiceImpl implements AdminService {
    @Resource
    private LoginDao loginDao;
    @Override
    public Admin login(String username,String password) {
        return loginDao.login(username,password);
    }
}
